<?php
require_once dirname(__FILE__) . '/../site.config.php';
//ss_error::log(explode(';',get_include_path()));
$obj=k()
  ->setCharsetStrategy(new k_charset_Utf8CharsetStrategy())
  // Use Phemto container for wiring of components
  //->setComponentCreator(new ss_konstrukt_PhemtoAdapter(create_phemto_container($ss), new site_k_document()))
  ->setComponentCreator(new k_InjectorAdapter(create_bucket_container($ss), new site_k_document()))
  // Enable file logging
  ->setLog(dirname(__FILE__) . '/../log/debug.log')
  // Uncomment the nexct line to enable in-browser debugging
  //->setDebug()
  // Dispatch request
  ->run('site_k_root')
  ->out();
//ss_error::log($obj,'Obj');
